<?php
/**
 * @file imagelibrary.php
 * @author LinLin
 * @date 2016年7月29日 下午2:46:21
 * @brief 
 */

namespace haibao\cms\model\data\activity;

class SpiderImage extends \haibao\cms\model\data\Base{


    CONST STATUS_ADD = 0;
    CONST STATUS_DEL = -1;
    CONST STATUS_CONFIRM = 1;

    public $SiteName;
    public $SiteInfo;
    public $ImageMD5;
    public $ImageUrl;
    public $CreateTime;
    public $Status;
    public $SecondCategory;
    public $SecondCategory2;

    public function __construct(){
        parent::__construct();
        $this->stringField('SiteName', 'SiteName', true);
        $this->stringField('SiteInfo', 'SiteInfo', true);
        $this->stringField('ImageMD5', 'ImageMD5', true);
        $this->stringField('ImageUrl', 'ImageUrl', true);
        $this->dateField('CreateTime', 'CreateTime', true);
        $this->intField('Status', 'Status', true);
        $this->intField('SecondCategory', 'SecondCategory', true);
        $this->intField('SecondCategory2', 'SecondCategory2', true);

        $this->setTableName('SpiderImage');
    }
}